package com.jiazhong.spring;

/**
 * @Auther:shuXin
 */
public class User {
    private String name;

    //交给Spring管理的方式就能够看出来，无参构造函数也会被执行
    public User(){
        System.out.println("user无参构造函数被执行");
    }

    public void run(){
        System.out.println(name+" is running");
    }
}
